﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!--产品详情-->
<div id="mod_buy_detail" class="shop_box_body clearfix">
	<div class="shop_box_header clearfix">
    	<span class="title">产品详细</span>
    </div>
    <div class="shop_box_content clearfix">
        	<div class="show_list_21 clearfix">
	        	<div class="sl21Lf">
	        		<a href="#" title="#">
	        			<c:if test="${ empty buyInfo.img }">
	        				<img src="" alt="默认图片" />
	        			</c:if>
	        			<c:if test="${ not empty buyInfo.img }">
	        				<img class="shopimagekey" src="/static/images/oldImages/wait.gif" title="${buyInfo.img }" />
	        			</c:if>
	        		</a>
	        	</div>
        	</div>
    	<div class="	 clearfix">
        	<h3><a href="#" title="#">${buyInfo.title }</a></h3>
            <p class="rate">价格要求：<em>${buyInfo.price }</em></p>
            <p class="number">产品数量：<em>${buyInfo.price }</em></p>
            <p class="area">产品产地：<em>${buyInfo.price }</em><em>${buyInfo.price }</em></p>
            <p class="pDate">发布时间：<em><fmt:formatDate value="${buyInfo.createDate }" pattern="yyyy-MM-dd"/></em></p>
            <p class="oDate">有效期至：
            	<em><fmt:formatDate value="${buyInfo.expired }" pattern="yyyy-MM-dd"/></em>
            		<c:if test="${intervalDay gt 0 }">
            			距离到期仅剩<b>${intervalDay }</b>天	
            		</c:if> 
            		<c:if test="${intervalDay eq 0 }">
            			该产品今天到期. 请从速
            		</c:if>
            		<c:if test="${intervalDay lt 0 }">
            			该产品已过期
            		</c:if>
            	</p>
            <p class="sl21But">
	            <%-- 集成商家网寻商机 --%>
	            <form name="sb" action="${contextUrl }seekbusiness/sbstep1.html" target="blank" method="post">
					<input type="hidden"" name="sbSellBuyIds" value="${buyInfo.id}" />
					<input type="hidden"" name="askType" value="QUOTATION" />
				    <input type="hidden"" name="seekBusinessType" value="USERDIY" />
						<a class="but_a clearfix" href="#" title="我要询盘" onclick="document.sb.submit();">
			            <span class="but_lf">
			            <em>我要询盘</em></span>
			            <span class="but_ri"></span>
			            </a>
				</form>
            </p>
        </div>
        <div class="show_list_22">
        	<ul class="idTabs clearfix">
            	<li><a href="#idTabs_detail">详细信息</a></li>
            	<li><a href="#idTabs_contact" class="selected">联系信息</a></li>
            </ul>
        </div>
        <div id="idTabs_detail">
        	<div class="show_list_23">
                <table width="100%" border='1' cellspacing="0" bordercolor="#e5e5e5">
                    <tr>
                        <th>品牌</th><td>${buyInfo.brand }</td>
                        <th>产地</th><td>${buyInfo.province }-${buyInfo.city }</td>
                    </tr>
                    <tr>
                        <th>型号</th><td>${buyInfo.model }</td><th></th><td></td>
                    </tr>
                </table>
            </div>
            <div class="show_list_24">
            	<p>${buyInfo.content }</p>
            </div>
        </div>
        <div id="idTabs_contact">
        	<div class="show_list_25">
				<h3><a href="#" title="#">${basic.name }</a></h3>
                <p>联 系 人：${buyInfo.name }</p>
                <p>电　　话：${buyInfo.tel }</p>
                <p>移动电话：${buyInfo.mobile }</p>
                <p>传　　真：${buyInfo.fax }</p>
                <p>qq         ：${buyInfo. qq }</p>
                <p>msn      ：${buyInfo.msn }</p>
                <p>阿里旺旺：${buyInfo.alibabaIm }</p>
                <p>地　　址：${buyInfo.contactProvince }-${buyInfo.contactCity }-${buyInfo.contactAddr }</p>
                <p class="contact2">
                	<c:if test="${not empty buyInfo.qrImg }">
                		<img class="shopimagekey" src="/static/images/oldImages/wait.gif" title="${buyInfo.qrImg }" />
                	</c:if>
                	<c:if test="${empty buyInfo.qrImg }">
                		<img src="/static/images/shop/templet_base/ad_07.jpg" />
                	</c:if>
                </p>
            </div>
        </div>
	</div>
</div>
<!--/产品详情-->